package com.csxy.six.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(name = "GoodsReport对象", description = "商品举报信息")
public class GoodsReport implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "report_id", type = IdType.AUTO)
    private Integer reportId;

    @Schema(description = "商品ID")
    private Integer goodsId;

    @Schema(description = "举报人ID")
    private Integer reporterId;

    @Schema(description = "举报原因")
    private String reason;

    @Schema(description = "举报时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime reportTime;

    @Schema(description= "举报状态（待处理,已处理）")
    private String status;
}